package com.scuec.trainingmanagementsys.entity;

import java.util.Date;

public class WeeklyAssessment {
    private Integer weeklyAssessmentID;         // 对应数据库列 weeklyassessmentid，自动递增
    private String weeklyAssessmentContent;     // 对应数据库列 weeklyassessmentcontent
    private Integer teacherID;                  // 对应数据库列 teacherid
    private Date wsCreateTime;                  // 对应数据库列 wscreate_time
    private Integer weeklyReportID;             // 对应数据库列 weeklyreportid（注意字段名修正）

    // 构造方法
    public WeeklyAssessment() {}

    public WeeklyAssessment(Integer weeklyAssessmentID, String weeklyAssessmentContent,
                            Integer teacherID, Date wsCreateTime, Integer weeklyReportID) {
        this.weeklyAssessmentID = weeklyAssessmentID;
        this.weeklyAssessmentContent = weeklyAssessmentContent;
        this.teacherID = teacherID;
        this.wsCreateTime = wsCreateTime;
        this.weeklyReportID = weeklyReportID;
    }

    // Getter和Setter方法
    public Integer getWeeklyAssessmentID() { return weeklyAssessmentID; }
    public void setWeeklyAssessmentID(Integer weeklyAssessmentID) { this.weeklyAssessmentID = weeklyAssessmentID; }

    public String getWeeklyAssessmentContent() { return weeklyAssessmentContent; }
    public void setWeeklyAssessmentContent(String weeklyAssessmentContent) {
        this.weeklyAssessmentContent = weeklyAssessmentContent;
    }

    public Integer getTeacherID() { return teacherID; }
    public void setTeacherID(Integer teacherID) { this.teacherID = teacherID; }

    public Date getWsCreateTime() { return wsCreateTime; }
    public void setWsCreateTime(Date wsCreateTime) { this.wsCreateTime = wsCreateTime; }

    public Integer getWeeklyReportID() { return weeklyReportID; }
    public void setWeeklyReportID(Integer weeklyReportID) { this.weeklyReportID = weeklyReportID; }

    @Override
    public String toString() {
        return "WeeklyAssessment{" +
                "weeklyAssessmentID=" + weeklyAssessmentID +
                ", weeklyAssessmentContent='" + weeklyAssessmentContent + '\'' +
                ", teacherID=" + teacherID +
                ", wsCreateTime=" + wsCreateTime +
                ", weeklyReportID=" + weeklyReportID +
                '}';
    }
}